/*
 * @Author: your name
 * @Date: 2021-09-17 19:52:29
 * @LastEditTime: 2021-09-17 19:53:15
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \custom-appd:\custom-app\src\modules\FormCenter\components\FieldResource\api.js
 */

//获取相关资源
import request from "@/utils/request"

export function getResource(unitProcessInstanceId) {
  //console.log(formdata.get("file"))
  return request({
    url: "/sys-bpm/wp/form/resource",
    method: "get",
    params: {
      unitProcessInstanceId
    }
  })
}